//
//  LXNetworkConfig.h
//  ProjectSource_Demo
//
//  Created by Liu on 16/3/29.
//  Copyright © 2016年 AngryBear. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, LXURLEnvironmentType)
{
    LXURLEnvironmentTypeAWSTest,       //AWS测试环境url
    LXURLEnvironmentTypeProduction,    //生产环境的url
    LXURLEnvironmentTypeInnerTest1,     //内部测试环境的url
    LXURLEnvironmentTypeInnerTest2,     //内部测试环境的url
    LXURLEnvironmentTypeDevelopTest185,   //开发测试环境的url
    LXURLEnvironmentTypeDevelopTest184,   //开发测试环境的url
};

@interface LXNetworkConfig : NSObject

+ (LXNetworkConfig *)defaultConfig;

@property (strong, nonatomic) NSString *baseURL;
@property (nonatomic, assign) LXURLEnvironmentType type;

- (NSString *)urlWithPath:(NSString *)path;

- (NSString *)h5BaseURL;

@end
